# coding=utf-8

import unittest


class Testsuite(unittest.TestCase):

    def testcase_001(self):
        print("test_001")

    def testcase_002(self):
        print("test_002")


if __name__ == '__main__':
    #创建测试套件
    suite = unittest.TestSuite()
    #向测试套件中新增用例,按照用例的添加顺序执行
    suite.addTest(Testsuite("testcase_002"))
    suite.addTest(Testsuite("testcase_001"))
    #运行测试套年间中的用例
    runner = unittest.TextTestRunner(verbosity=2)
    runner.run(suite)

